package com.speakglobe.panelist.dao;

import java.util.List;

import com.speakglobe.panelist.model.EWallet;
import com.speakglobe.panelist.model.Panelist;
import com.speakglobe.panelist.model.PanelistUtility;
import com.speakglobe.security.model.User;

public interface PanelistDao {
	
	public boolean savePanelistUser(User panelistUser);
	public boolean savePanelist(Panelist panelist);
	public boolean savePanelistUserUtility(PanelistUtility panelistUtility);
	public boolean saveEWallet(EWallet eWallet);
	
	public User updatePanelistUser(User user);
	public Panelist updatePanelist(Panelist panelist);
	public PanelistUtility updatePanelistUserUtility(PanelistUtility panelistUtility);
	public EWallet updateEWallet(EWallet eWallet);
	
	public User findPanelistUserById(int panelistUserId);
	public Panelist findPanelistById(int panelistId);
	public Panelist findPanelistByKeyword(String keyword);
	public PanelistUtility findPanelistUserUtilityById(int panelistUserUtilityId);
	public EWallet findEWalletById(int eWalletId);
	
	public List<User> findPanelistUsers();
	public List<Panelist> findPanelists();
	public List<PanelistUtility> findPanelistUserUtilities();
	public List<EWallet> findEWallets();
	
	public boolean deletePanelistUser(int panelistUserId);
	public boolean deletePanelist(int panelistId);
	public boolean deletePanelistUserUtility(int panelistUserUtilityId);
	public boolean deleteEWallet(int eWalletId);
	

}
